package biz.impl;

import biz.AdminBiz;
import dao.AdminDao;
import dao.impl.AdminDaoImpl;
import entity.Admin;

public class AdminBizImpl implements AdminBiz {
	AdminDao ad =new AdminDaoImpl();
	@Override
	public Admin loginAdmin(String userName, String password) {
		return ad.queryAdmin(userName, password);
	}

}
